☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

wrap_width

Table of contents

Description:

This key defines the width of the text wrap in the commit message editor.

The value is a number that specifies the character width at which text wraps in the editor.

Appears in:
└── commit_templates
    └── [*]
        └── wrap_width
Type:
number
Examples:

In this example, we have configured a commit template with a wrap width of 72 characters.

Copied to clipboard
commit_templates:
  - label: Default
    template_string: '{message}'
    wrap_width: 72
{
  "commit_templates": [
    {
      "label": "Default",
      "template_string": "{message}",
      "wrap_width": 72
    }
  ]
}
Open in a new tab